package handler

import (
	"github.com/gin-gonic/gin"
	"go-fast/app/service"
	"go-fast/pkg/http"
)

type UserHandler struct {
	uSrv service.UserService
}

func NewUserHandler() *UserHandler {
	return &UserHandler{
		uSrv: service.NewUserService(),
	}
}

func (h UserHandler) Get(ctx *gin.Context) {
	name := ctx.Param("id")
	http.NewResponse(ctx).Success(name, "")
}
